/**
 * ExportReport：导出报表
 * @type {Object}
 */
import React  from 'react'
import style from './index.less'

import { Button,Icon,message } from 'antd';





/**
 * [导出报表]
 * @type {Object}
 */
const ExportReport=({
	url
})=>{
	return (
		<Button type="primary"  className={style.root} onClick={(e)=>{message.info('导出请求已发起，请勿重新点击！')}}>
      <a download={url}  href={url} style={{fontWeight:'normal'}}><Icon type="export" /> 导出</a>
    </Button>
	)
}

export default ExportReport
